package com.tadpole.music.bean.home;

/**
 * Created By 孙岩
 * on 2020/12/10
 */
public class GoClockInBean {

    /**
     * code : 200
     * data : {"erweima":"https://www.bjhaiyijia.com/image/ewm.png","sayings":{"author":"阮元","content":"立志宜思真品格，读书须尽苦功夫。"},"sign_data":{"id":3,"created_at":"2020-12-10 09:03:38","updated_at":"2020-12-10 09:03:38","user_id":1,"continue_sign_days":0,"total_sign_days":1},"user":{"age":10,"avatar":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eolV3ElqnAIstV3Txd8YrJvGMYCZr1NwlqeaoZL0aa0ZBIAlkngNmIjkHSiaBvnsuGlfr6YbAcqIEA/132","nickname":"不知道天外飞"}}
     * msg : ok
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * erweima : https://www.bjhaiyijia.com/image/ewm.png
         * sayings : {"author":"阮元","content":"立志宜思真品格，读书须尽苦功夫。"}
         * sign_data : {"id":3,"created_at":"2020-12-10 09:03:38","updated_at":"2020-12-10 09:03:38","user_id":1,"continue_sign_days":0,"total_sign_days":1}
         * user : {"age":10,"avatar":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eolV3ElqnAIstV3Txd8YrJvGMYCZr1NwlqeaoZL0aa0ZBIAlkngNmIjkHSiaBvnsuGlfr6YbAcqIEA/132","nickname":"不知道天外飞"}
         */

        private String erweima;
        private SayingsBean sayings;
        private SignDataBean sign_data;
        private UserBean user;
        private ShareBean share;
        public DataBean(String erweima, SayingsBean sayings, SignDataBean sign_data, UserBean user,ShareBean share) {
            this.erweima = erweima;
            this.sayings = sayings;
            this.sign_data = sign_data;
            this.user = user;
            this.share = share;
        }

        public ShareBean getShare() {
            return share;
        }

        public void setShare(ShareBean share) {
            this.share = share;
        }

        public String getErweima() {
            return erweima;
        }

        public void setErweima(String erweima) {
            this.erweima = erweima;
        }

        public SayingsBean getSayings() {
            return sayings;
        }

        public void setSayings(SayingsBean sayings) {
            this.sayings = sayings;
        }

        public SignDataBean getSign_data() {
            return sign_data;
        }

        public void setSign_data(SignDataBean sign_data) {
            this.sign_data = sign_data;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class SayingsBean {
            /**
             * author : 阮元
             * content : 立志宜思真品格，读书须尽苦功夫。
             */

            private String author;
            private String content;

            public SayingsBean(String author, String content) {
                this.author = author;
                this.content = content;
            }

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }

        public static class SignDataBean {
            /**
             * id : 3
             * created_at : 2020-12-10 09:03:38
             * updated_at : 2020-12-10 09:03:38
             * user_id : 1
             * continue_sign_days : 0
             * total_sign_days : 1
             */

            private int id;
            private String created_at;
            private String updated_at;
            private int user_id;
            private int continue_sign_days;
            private int total_sign_days;

            public SignDataBean(int id, String created_at, String updated_at, int user_id, int continue_sign_days, int total_sign_days) {
                this.id = id;
                this.created_at = created_at;
                this.updated_at = updated_at;
                this.user_id = user_id;
                this.continue_sign_days = continue_sign_days;
                this.total_sign_days = total_sign_days;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public int getContinue_sign_days() {
                return continue_sign_days;
            }

            public void setContinue_sign_days(int continue_sign_days) {
                this.continue_sign_days = continue_sign_days;
            }

            public int getTotal_sign_days() {
                return total_sign_days;
            }

            public void setTotal_sign_days(int total_sign_days) {
                this.total_sign_days = total_sign_days;
            }
        }

        public static class UserBean {
            /**
             * age : 10
             * avatar : https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eolV3ElqnAIstV3Txd8YrJvGMYCZr1NwlqeaoZL0aa0ZBIAlkngNmIjkHSiaBvnsuGlfr6YbAcqIEA/132
             * nickname : 不知道天外飞
             */

            private int age;
            private String avatar;
            private String nickname;

            public UserBean(int age, String avatar, String nickname) {
                this.age = age;
                this.avatar = avatar;
                this.nickname = nickname;
            }

            public int getAge() {
                return age;
            }

            public void setAge(int age) {
                this.age = age;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }

        public static class ShareBean{
            private String desc;
            private String thumb;
            private String title;
            private String url;

            public ShareBean(String desc, String thumb, String title, String url) {
                this.desc = desc;
                this.thumb = thumb;
                this.title = title;
                this.url = url;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
